//
//  KYRecentSearchView.h
//  Haizijiaoyuquan
//
//  Created by Kai Yu on 1/17/14.
//  Copyright (c) 2014 Zhang Kai Yu. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "KYRecentSearchText.h"
#import "KYRecentSearchTextBasicBehavior.h"

typedef void(^KYRecentSearchViewDidConfiguredText)(KYRecentSearchText *text);

@interface KYRecentSearchView : UIView

@property (nonatomic, strong) NSArray *recentSearches; // of NSString

@property (nonatomic, strong) KYRecentSearchViewDidConfiguredText didConfiguredTextCallBack;

@property (nonatomic, strong) UIDynamicAnimator *animator;
@property (nonatomic, strong) KYRecentSearchTextBasicBehavior *behavior;

- (id)initWithRecentSearches:(NSArray *)recentSearches;

- (void)animate;



@end
